<admintpl file="header"/>
<body class="J_scroll_fixed">
<div class="wrap jj">
  <div class="common-form">
    <form method="post" class="J_ajaxForm" action="{:U('User/edit_post')}">
      <div class="h_a">基本属性</div>
      <div class="table_list">
        <table cellpadding="0" cellspacing="0" class="table_form" width="100%">
          <tbody>
            <tr>
              <td width="200">用户名:</td>
              <td><input type="text" class="input" name="user_login" value="{$user_login}"></td>
            </tr>
            <tr>
              <td>密码:</td>
              <td><input type="password" class="input" name="user_pass" value="" placeholder="******"></td>
            </tr>
            <tr>
              <td>邮箱:</td>
              <td><input type="text" class="input" name="user_email" value="{$user_email}"></td>
            </tr>
            <tr>
              <td>角色:</td>
              <td>
 				<select name="role_id" class="normal_select">
 					<foreach name="roles" item="vo">
 					<php>$role_id_selected=$vo['id']==$role_id?"selected":"";</php>
 						<option value="{$vo.id}" {$role_id_selected}>{$vo.name}</option>
 					</foreach>
                </select>
				</td>
            </tr>
          </tbody>
        </table>
      </div>
      <div class="btn_wrap">
        <div class="btn_wrap_pd">
        	<input type="hidden" name="ID" value="{$ID}"/>
          	<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">更新</button>
          	<a class="btn" href="__URL__">返回</a>
        </div>
      </div>
    </form>
  </div>
</div>
<script src="__ROOT__/statics/js/common.js{$js_debug}"></script>
</body>
</html>